Integrand size = 33, antiderivative size = 226 \[ \int x^m \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx=-\frac {4 \sqrt {-\frac {(1+m)^2}{n^2}} n x^{1+m} \cos \left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (1+m)^2}+\frac {8 x^{1+m} \sin \left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (1+m)}+\frac {6 \sqrt {-\frac {(1+m)^2}{n^2}} n x^{1+m} \cos \left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \sin ^2\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (1+m)^2}-\frac {4 x^{1+m} \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (1+m)} \]
[Out]
Time = 0.11 (sec) , antiderivative size = 226, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {4575, 4573} \[ \int x^m \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx=-\frac {4 x^{m+1} \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(m+1)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (m+1)}+\frac {8 x^{m+1} \sin \left (a+\frac {1}{2} \sqrt {-\frac {(m+1)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (m+1)}-\frac {4 n \sqrt {-\frac {(m+1)^2}{n^2}} x^{m+1} \cos \left (a+\frac {1}{2} \sqrt {-\frac {(m+1)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (m+1)^2}+\frac {6 n \sqrt {-\frac {(m+1)^2}{n^2}} x^{m+1} \sin ^2\left (a+\frac {1}{2} \sqrt {-\frac {(m+1)^2}{n^2}} \log \left (c x^n\right )\right ) \cos \left (a+\frac {1}{2} \sqrt {-\frac {(m+1)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (m+1)^2} \]
[In]
[Out]
Rule 4573
Rule 4575
Rubi steps \begin{align*} \text {integral}& = \frac {6 \sqrt {-\frac {(1+m)^2}{n^2}} n x^{1+m} \cos \left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \sin ^2\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (1+m)^2}-\frac {4 x^{1+m} \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (1+m)}+\frac {6}{5} \int x^m \sin \left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx \\ & = -\frac {4 \sqrt {-\frac {(1+m)^2}{n^2}} n x^{1+m} \cos \left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (1+m)^2}+\frac {8 x^{1+m} \sin \left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (1+m)}+\frac {6 \sqrt {-\frac {(1+m)^2}{n^2}} n x^{1+m} \cos \left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \sin ^2\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (1+m)^2}-\frac {4 x^{1+m} \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )}{5 (1+m)} \\ \end{align*}
Time = 0.96 (sec) , antiderivative size = 169, normalized size of antiderivative = 0.75 \[ \int x^m \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx=\frac {x^{1+m} \left (-5 \sqrt {-\frac {(1+m)^2}{n^2}} n \cos \left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )-3 \sqrt {-\frac {(1+m)^2}{n^2}} n \cos \left (3 a+\frac {3}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )+2 (1+m) \left (5 \sin \left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )+\sin \left (3 a+\frac {3}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right )\right )\right )}{10 (1+m)^2} \]
[In]
[Out]
Time = 74.05 (sec) , antiderivative size = 135, normalized size of antiderivative = 0.60
method | result | size |
parallelrisch | \(\frac {8 x^{1+m} \left (5 n \sqrt {-\frac {\left (1+m \right )^{2}}{n^{2}}}\, {\tan \left (\frac {a}{2}+\sqrt {-\frac {\left (1+m \right )^{2}}{n^{2}}}\, \ln \left (\left (c \,x^{n}\right )^{\frac {1}{4}}\right )\right )}^{2}+4 \left (1+m \right ) \tan \left (\frac {a}{2}+\sqrt {-\frac {\left (1+m \right )^{2}}{n^{2}}}\, \ln \left (\left (c \,x^{n}\right )^{\frac {1}{4}}\right )\right )-n \sqrt {-\frac {\left (1+m \right )^{2}}{n^{2}}}\right )}{5 \left (1+m \right )^{2} {\left (1+{\tan \left (\frac {a}{2}+\sqrt {-\frac {\left (1+m \right )^{2}}{n^{2}}}\, \ln \left (\left (c \,x^{n}\right )^{\frac {1}{4}}\right )\right )}^{2}\right )}^{3}}\) | \(135\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.26 (sec) , antiderivative size = 128, normalized size of antiderivative = 0.57 \[ \int x^m \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx=\frac {{\left (5 i \, e^{\left (-\frac {{\left (m + 1\right )} n \log \left (x\right ) - 2 i \, a n + {\left (m + 1\right )} \log \left (c\right )}{n}\right )} - 15 i \, e^{\left (-\frac {2 \, {\left ({\left (m + 1\right )} n \log \left (x\right ) - 2 i \, a n + {\left (m + 1\right )} \log \left (c\right )\right )}}{n}\right )} - 5 i \, e^{\left (-\frac {3 \, {\left ({\left (m + 1\right )} n \log \left (x\right ) - 2 i \, a n + {\left (m + 1\right )} \log \left (c\right )\right )}}{n}\right )} - i\right )} e^{\left (\frac {5 \, {\left ({\left (m + 1\right )} n \log \left (x\right ) - 2 i \, a n + {\left (m + 1\right )} \log \left (c\right )\right )}}{2 \, n} + \frac {2 i \, a n - {\left (m + 1\right )} \log \left (c\right )}{n}\right )}}{20 \, {\left (m + 1\right )}} \]
[In]
[Out]
\[ \int x^m \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx=\int x^{m} \sin ^{3}{\left (a + \frac {\sqrt {- \frac {m^{2}}{n^{2}} - \frac {2 m}{n^{2}} - \frac {1}{n^{2}}} \log {\left (c x^{n} \right )}}{2} \right )}\, dx \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 195, normalized size of antiderivative = 0.86 \[ \int x^m \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx=-\frac {{\left (c^{\frac {3 \, m}{n} + \frac {3}{n}} x e^{\left (m \log \left (x\right ) + \frac {3 \, m \log \left (x^{n}\right )}{n} + \frac {3 \, \log \left (x^{n}\right )}{n}\right )} \sin \left (3 \, a\right ) - 5 \, c^{\frac {2 \, m}{n} + \frac {2}{n}} x e^{\left (m \log \left (x\right ) + \frac {2 \, m \log \left (x^{n}\right )}{n} + \frac {2 \, \log \left (x^{n}\right )}{n}\right )} \sin \left (a\right ) - 15 \, c^{\frac {m}{n} + \frac {1}{n}} x e^{\left (m \log \left (x\right ) + \frac {m \log \left (x^{n}\right )}{n} + \frac {\log \left (x^{n}\right )}{n}\right )} \sin \left (a\right ) - 5 \, x x^{m} \sin \left (3 \, a\right )\right )} e^{\left (-\frac {3 \, m \log \left (x^{n}\right )}{2 \, n} - \frac {3 \, \log \left (x^{n}\right )}{2 \, n}\right )}}{20 \, {\left (c^{\frac {3 \, m}{2 \, n} + \frac {3}{2 \, n}} m + c^{\frac {3 \, m}{2 \, n} + \frac {3}{2 \, n}}\right )}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 7.35 (sec) , antiderivative size = 1870, normalized size of antiderivative = 8.27 \[ \int x^m \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx=\text {Too large to display} \]
[In]
[Out]
Time = 29.96 (sec) , antiderivative size = 297, normalized size of antiderivative = 1.31 \[ \int x^m \sin ^3\left (a+\frac {1}{2} \sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx=-\frac {x\,x^m\,{\mathrm {e}}^{-a\,1{}\mathrm {i}}\,\frac {1}{{\left (c\,x^n\right )}^{\frac {\sqrt {-\frac {2\,m}{n^2}-\frac {1}{n^2}-\frac {m^2}{n^2}}\,1{}\mathrm {i}}{2}}}\,\left (2\,m+2+n\,\sqrt {-\frac {{\left (m+1\right )}^2}{n^2}}\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{4\,{\left (m\,1{}\mathrm {i}+1{}\mathrm {i}\right )}^2}+\frac {x\,x^m\,{\mathrm {e}}^{a\,1{}\mathrm {i}}\,{\left (c\,x^n\right )}^{\frac {\sqrt {-\frac {2\,m}{n^2}-\frac {1}{n^2}-\frac {m^2}{n^2}}\,1{}\mathrm {i}}{2}}\,\left (2\,m+2-n\,\sqrt {-\frac {{\left (m+1\right )}^2}{n^2}}\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{4\,{\left (m\,1{}\mathrm {i}+1{}\mathrm {i}\right )}^2}-\frac {x\,x^m\,{\mathrm {e}}^{-a\,3{}\mathrm {i}}\,\frac {1}{{\left (c\,x^n\right )}^{\frac {\sqrt {-\frac {2\,m}{n^2}-\frac {1}{n^2}-\frac {m^2}{n^2}}\,3{}\mathrm {i}}{2}}}\,\left (2\,m+2+n\,\sqrt {-\frac {{\left (m+1\right )}^2}{n^2}}\,3{}\mathrm {i}\right )\,1{}\mathrm {i}}{20\,{\left (m\,1{}\mathrm {i}+1{}\mathrm {i}\right )}^2}+\frac {x\,x^m\,{\mathrm {e}}^{a\,3{}\mathrm {i}}\,{\left (c\,x^n\right )}^{\frac {\sqrt {-\frac {2\,m}{n^2}-\frac {1}{n^2}-\frac {m^2}{n^2}}\,3{}\mathrm {i}}{2}}\,\left (2\,m+2-n\,\sqrt {-\frac {{\left (m+1\right )}^2}{n^2}}\,3{}\mathrm {i}\right )\,1{}\mathrm {i}}{20\,{\left (m\,1{}\mathrm {i}+1{}\mathrm {i}\right )}^2} \]
[In]
[Out]